﻿using System;
using System.Windows.Input;

namespace RaisingStudio.SmallProgram.Library
{
    [SmallProgramType]
    public static class Mouse
    {
        public static void HideCursor()
        {
            GraphicsWindow.SetCursor(Cursors.None);
        }

        public static void ShowCursor()
        {
            GraphicsWindow.SetCursor(Cursors.Arrow);
        }

        public static Primitive IsLeftButtonDown
        {
            get
            {
                return GraphicsWindow._isLeftMouseButtonDown;
            }
        }

        public static Primitive IsRightButtonDown
        {
            get
            {
                return GraphicsWindow._isRightMouseButtonDown;
            }
        }

        public static Primitive MouseX
        {
            get
            {
                return GraphicsWindow.MouseX;
            }
            set
            {
            }
        }

        public static Primitive MouseY
        {
            get
            {
                return GraphicsWindow.MouseY;
            }
            set
            {
            }
        }
    }
}

